<div id="p_detail">
    <div class="top_bar">
        <div class="t_menu">
          <a  ui-sref='^.home'><img src="img/category/l_arrow.jpg" alt="l_arrow"></a>
        </div>
        <div class="t_search">
            <form action='' class="form-inline">
                <div class="input-group">
                    <input type="text" name="pname" class="form-control" placeholder="搜搜看吧" />
                    <span class="input-group-btn">
                    <button type="submit" class="btn btn-default">
                        <span class="glyphicon glyphicon-search"></span>
                    </button>
                    </span>
                </div>
            </form>
        </div>

    </div>
    <ion-content>
        <div class="detail_img">
            <img ng-src="{{product.pic1}}" alt="remoteimg">
        </div>
        <main class="detail_cnt">
            <div class="detail_config">
                <p>{{name}}</p>
                <p>品牌：<span>{{product.brand}}</span></p>
                <p>货号：<span>{{product.pNum}}</span></p>
                <p>价格：<span class="price">￥{{product.price}}</span></p>
                <p>可用积分：<span>{{product.point}}</span>积分</p>
                <p>销量：售出<span>{{product.saled}}</span>件(<span>{{commentLength}}</span>条评论)</p>
                <p>所在地区：<span>{{product.area}}</span></p>
            </div>
            <div class="detail_buy">
                <div class="buy_1">
                    <p>品牌：<span class="brand">{{product.brand}}</span></p>
                    <p>型号：<span class="model" ng-click="modelChange($event)">{{product.model}}</span></p>
                    <p>颜色：<span class="color brand" ng-click="colorChange($event)" ng-repeat="item in product.color">{{item.color}}</span></p>
                    <p>购买数量：<span class="num"><input type="text" name="buy_num" class="buy_num" value="1"></span></p>
                    <p class="d_selected">您已选择：<span class="selected"></span></p>
                </div>
                <div class="buy_2">
                    <a class="buy_now">立即购买</a>
                    <a class="add_cart">加入购物车</a>
                </div>
            </div>
            <div class="detail_show">
                <ul class="show_title">
                    <li class="on" ng-click="toggle($event)">商品详情</li>
                    <li ng-click="toggle($event)"><span>0</span>条评论</li>
                </ul>
                <div class="show_cnt">
                    <section >
                        <p ng-repeat="item in product.detail">{{item.cnt}}</p>
                        <img ng-src="{{product.pic2}}" class="img-responsive" alt="p1_2">
                    </section>
                    <section class="comment">
                        <p>该商品还没有评论</p>
                    </section>
                </div>
            </div>

        </main>
    </ion-content>
    <script>
     
    </script>
</div>